package com.dy.cloud.controller;

import com.dy.cloud.service.IMessageProviderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName:
 * @Author: 仄言in
 * @Desctiption: (描述)
 * @Date: 2021/10/4 12:57
 * @Version 1.0 (版本)
 */
@RestController
public class StreamRabbitController {
    @Autowired
    private IMessageProviderService iMessageProviderService;

    @GetMapping("/getSteramId")
    public String getSteramId() {
        return iMessageProviderService.send();
    }
}
